<?php
class Up_model extends CI_Model {

    public function __construct()
    {
        $this->load->database();
    }
    public function save($data)
    {
        $this->db->insert('ims_punch_images', $data);
    }
}